﻿<UserControl x:Class="CPPEI.UpdatePackageTool.OperateControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="370" d:DesignWidth="470">
    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Label Content="上传进度:"  FontSize="15"   HorizontalAlignment="Left" Margin="5"/>
            <TextBlock x:Name="_ctlPlanMessage" VerticalAlignment="Center" FontSize="15" Foreground="Red" Width="350" Margin="2"/>
        </StackPanel>
      
        <StackPanel Grid.Row="1" Orientation="Horizontal">
            <ProgressBar x:Name="_ctlProgressBar" Width="400" Height="25"  Margin="5"/>
            <Label x:Name="_ctlLblPlan" Width="60" Content="0%" VerticalAlignment="Center" Margin="2" HorizontalContentAlignment="Center"/>
        </StackPanel>
       
        <RichTextBox  x:Name="_ctlStartFileInfo" Width="460" Grid.Row="2"   VerticalScrollBarVisibility="Auto"  Margin="5"/>
        <StackPanel Orientation="Horizontal" Grid.Row="3"  HorizontalAlignment="Right"  >
            <CheckBox x:Name="_crlCkbNecessary" Content="强制更新" Margin="5" FontSize="15" VerticalAlignment="Center"/>
            <CheckBox x:Name="_ctlCreateRar"  Content="生成压缩包" VerticalAlignment="Center" Margin="5" FontSize="15"/>
            <Button x:Name="_ctlBtnStartCreate" Width="50" Height="30" Content="生成"  Margin="5" Click="_ctlBtnStartCreate_Click" />
            <Button x:Name="_ctlBtnStartUpload" Width="70" Height="30" Content="上传增量包"  Margin="5" Click="_ctlBtnStartUpload_Click" />
            <Button x:Name="_ctlBtnFullUplad" Width="70" Height="30" Content="上传完整包"  Margin="5" Click="_ctlBtnFullUplad_Click" />
        </StackPanel>
        <Button x:Name="_ctlBtnBack" Grid.Row="4" Content="上一步"  Height="25" HorizontalAlignment="Right" Margin="5" Click="_ctlBtnBack_Click"/>
    </Grid>
</UserControl>
